(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[46276],{70222:function(e,t,o){"use strict";o.d(t,{Z:function(){return d}});var n=o(67294),r=o(16550),i=o(94184),a=o.n(i),c=o(69580),l=e=>{var{name:t,to:o,separator:i="/",router:l,active:d,cb:u}=e,s=(0,r.$B)(),p=(0,r.k6)(),m=(0,n.useMemo)((()=>!!d||!!o&&("string"==typeof o?s.path===o:s.path===o.pathname)),[d,s.path,o]),v=(0,n.useMemo)((()=>!(!o&&!u||"string"!=typeof o&&(null==o||!o.pathname)&&void 0===u)),[u,o]),f=(0,n.useCallback)((e=>{u?u(e):l&&("string"==typeof e&&p.push(e),null!=e&&e.pathname&&p.push(e.pathname))}),[u,p,l]);return n.createElement("div",{className:a()("cider-breadcrumb__item",{"cursor-pointer":u||o})},n.createElement("span",{className:"cider-breadcrumb__inner ".concat(m?"is-active":""," ").concat(v?"is-link":""),onClick:()=>{f(o)}},t),n.createElement("span",{className:"cider-breadcrumb__separator"},n.createElement(c.le,{iconClass:c.my.DOWN,width:12,height:12,color:"#999"})))},d=e=>{var{routes:t,separator:o,router:r=!0}=e;return n.createElement("div",{className:"cider-breadcrumb"},t.map(((e,t)=>e.name?n.createElement(l,{key:t,name:e.name,active:e.active,to:e.link,cb:e.cb,router:r,separator:o}):null)))}},59421:function(e,t,o){"use strict";o.d(t,{m:function(){return i},q:function(){return a}}),o(66992),o(33948);var n,r=o(67294);try{n=JSON.parse('{"ar":"https://ar.shopcider.com","de":"https://de.shopcider.com","es":"https://es.shopcider.com","es-mx":"https://mx.shopcider.com","fr":"https://fr.shopcider.com","it":"https://it.shopcider.com","ja":"https://jp.shopcider.com","ko":"https://kr.shopcider.com","en":"https://www.shopcider.com","pt-br":"https://br.shopcider.com"}')}catch(e){n={}}function i(e){var t=r.createElement("link",{rel:"canonical",href:"".concat("https://www.shopcider.com").concat(e)}),o=[];return Object.entries(n||{}).map((t=>{var[n,i]=t;n&&i&&o.push(r.createElement("link",{rel:"alternate",hrefLang:n,href:"".concat(i).concat(e)}))})),o.push(r.createElement("link",{rel:"alternate",hrefLang:"x-default",href:"".concat("https://www.shopcider.com").concat(e)})),o.push(r.createElement("link",{rel:"alternate",media:"only screen and (max-width: 640px)",href:"".concat("https://m.shopcider.com").concat(e)})),[t,...o]}var a=()=>{var e=new Date,t=e.getFullYear(),o=e.getMonth()+1,n=e.getDate();return"".concat(t,"-").concat(o,"-").concat(n)}},34150:function(e,t){"use strict";t.Z=()=>({guaranteedSchemaMarkupDescription:"Cider offers stylish and trendy women's clothing and accessories globally. Shop the latest dresses, tops, jackets, and more. Enjoy worldwide shipping.",HOME_BREADCRUMB_ITEM:{"@type":"ListItem",position:1,name:"Home",item:"https://www.shopcider.com"}})},46006:function(e,t,o){"use strict";o.d(t,{Z:function(){return l}});var n=o(22222),r=o(80950),i=o(22739),a=e=>{var{categoryList:t}=e;return t||i.Z},c=(0,n.zB)({collectionId:(0,n.P1)(a,(e=>e.collectionId)),searchKey:(0,n.P1)(a,(e=>e.searchKey)),totalSize:(0,n.P1)(a,(e=>e.totalSize)),title:(0,n.P1)(a,(e=>e.title)),page:(0,n.P1)(a,(e=>e.page)),size:(0,n.P1)(a,(e=>e.size)),complete:(0,n.P1)(a,(e=>e.complete)),list:(0,n.P1)(a,(e=>e.list)),noData:(0,n.P1)(a,(e=>e.noData)),filters:(0,n.P1)(a,(e=>e.filters)),filterSelect:(0,n.P1)(a,(e=>e.filterSelect)),listType:(0,n.P1)(a,(e=>e.listType)),listTitle:(0,n.P1)(a,(e=>e.listTitle)),collectionBanner:(0,n.P1)(a,(e=>({bannerPcImgUrl:e.bannerPcImgUrl||"",bannerPcLinkUrl:e.bannerPcLinkUrl||"",bannerPcImgSize:e.bannerPcImgSize||{wide:null,high:null},bannerPcImgUrlPixel:e.bannerPcImgUrlPixel||{}}))),strategyNameList:(0,n.P1)(a,(e=>e.strategyNameList)),makeSeoDataVO:(0,n.P1)(a,(e=>e.seoDataVO)),titleRecommand:(0,n.P1)(a,(e=>e.titleRecommand)),completeRecommand:(0,n.P1)(a,(e=>e.completeRecommand)),listRecommand:(0,n.P1)(a,(e=>e.listRecommand)),loadingStatus:(0,n.P1)(a,(e=>e.loadingStatus)),headerHeight:(0,r.x4)(),flashShoppingCountdown:(0,n.P1)(a,(e=>e.flashShoppingCountdown)),usageType:(0,n.P1)(a,(e=>null==e?void 0:e.usageType))}),l=c},14924:function(e,t,o){"use strict";o.r(t),o.d(t,{default:function(){return re}}),o(19601),o(26699),o(54747),o(88674);var n=o(67294),r=o(55558),i=o(70222),a=o(39704),c=o(7403),l=o(66162),d=o(26793),u=o(16550),s=o(73887),p=o(23493),m=o(94412),v=o(69580),f=o(35576),h=o(54953),E=o(42326),y=o(83867),g=o(36262),S=o(10537),I=(o(39714),o(66992),o(33948),o(56977),o(85827),o(64593)),T=o(91436),_=o(27484),b=o.n(_),O=o(59421),P=o(8723),w=o(46006),C=o(34150),D=()=>{var e,t,o,r,i,c,l,d,u,s,p,m,v,{productionDetail:f,productImage:h}=(0,a.v9)(g.ZP),{commentSEOData:E}=(0,a.v9)(g.Jj),{currency:y}=(0,a.v9)(T.Z),S=(0,n.useMemo)((()=>{var e,t;return((null==f||null===(e=f.productInfoSeoVO)||void 0===e||null===(t=e.seoTagList)||void 0===t?void 0:t.map((e=>e.tagsName)))||[]).join(",")}),[null==f||null===(e=f.productInfoSeoVO)||void 0===e?void 0:e.seoTagList]),_=(0,n.useMemo)((()=>f.productUniqueName?"/goods/".concat(encodeURIComponent(f.productUniqueName)):""),[f.productUniqueName]),D=(0,n.useMemo)((()=>(0,O.q)()),[]),k=(0,n.useMemo)((()=>{var e,t=[];return null==f||null===(e=f.productStyle)||void 0===e||e.forEach((e=>{var o;null==e||null===(o=e.skuInfo)||void 0===o||o.forEach((o=>{t.push({"@type":"Offer",url:_?"".concat("https://www.shopcider.com").concat(_):"",priceCurrency:y,price:null==e?void 0:e.salePriceWithOutCurrency,priceValidUntil:"".concat(D),itemCondition:"https://schema.org/NewCondition",availability:"https://schema.org/".concat(0===o.soldOut?"InStock":"OutOfStock")})}))})),t}),[y,D,_,null==f?void 0:f.productStyle]),N=(0,n.useMemo)((()=>{var e,t,o,n,r,i,a,c;return JSON.stringify({"@context":"https://schema.org","@type":"Product",name:(null==f||null===(e=f.productInfoSeoVO)||void 0===e?void 0:e.seoTitle)||f.productName,image:null==f||null===(t=f.shareInfo)||void 0===t?void 0:t.shareImgUrl,description:null==f||null===(o=f.productInfoSeoVO)||void 0===o?void 0:o.seoDescription,sku:null==f||null===(n=f.productStyle)||void 0===n||null===(r=n[0])||void 0===r||null===(i=r.skuInfo)||void 0===i||null===(a=i[0])||void 0===a?void 0:a.skuCode,brand:{"@type":"Cider",name:(null==f||null===(c=f.productInfoSeoVO)||void 0===c?void 0:c.seoTitle)||f.productName},offers:k})}),[k,null==f||null===(t=f.productInfoSeoVO)||void 0===t?void 0:t.seoDescription,null==f||null===(o=f.productInfoSeoVO)||void 0===o?void 0:o.seoTitle,f.productName,null==f?void 0:f.productStyle,null==f||null===(r=f.shareInfo)||void 0===r?void 0:r.shareImgUrl]),{makeSeoDataVO:L}=(0,a.v9)(w.Z),{HOME_BREADCRUMB_ITEM:R}=(0,C.Z)(),A=(0,n.useMemo)((()=>{var e;return JSON.stringify([R,{"@type":"ListItem",position:2,name:null==L?void 0:L.seoTitle,item:null!=L&&L.seoBreadcrumb?"".concat("https://www.shopcider.com","/").concat(null==L?void 0:L.seoBreadcrumb):"https://www.shopcider.com"},{"@type":"ListItem",position:3,name:(null==f||null===(e=f.productInfoSeoVO)||void 0===e?void 0:e.seoTitle)||f.productName,item:_?"".concat("https://www.shopcider.com").concat(_):""}])}),[R,_,null==L?void 0:L.seoBreadcrumb,null==L?void 0:L.seoTitle,null==f||null===(i=f.productInfoSeoVO)||void 0===i?void 0:i.seoTitle,f.productName]),U=(0,n.useMemo)((()=>{var e,t,o="".concat(f.productName," - Cider"),n=(null==f||null===(e=f.productStyle)||void 0===e||null===(t=e[0])||void 0===t?void 0:t.styleAttrList)||[];return null!=n&&n.length&&n.forEach((e=>{var t;o+="- ".concat(e.attrTitle,": ").concat(null===(t=e.attrContent)||void 0===t?void 0:t.toString())})),o+=" - More colors and sizes available"}),[f.productName,f.productStyle]),M=(0,n.useMemo)((()=>{var e={"@context":"https://schema.org/","@type":"Product",name:f.productName,image:[null==h?void 0:h[0]],url:_?"".concat("https://www.shopcider.com").concat(_):"",description:f.productName,sku:f.spuCode||"",brand:{"@type":"Brand",name:"Cider"}};if(null!=f&&f.productStyle){var t,o,n,r,i,a=!0;if(null!=f&&null!==(t=f.productStyle)&&void 0!==t&&null!==(o=t[0])&&void 0!==o&&null!==(n=o.skuInfo)&&void 0!==n&&n[0])for(var c of f.productStyle)for(var l of c.skuInfo)l.preOrder||(a=!1);else a=!1;var d=null==f||null===(r=f.productStyle)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.bigDecimalSalePrice,u=b()().add(1,"month").format("YYYY-MM-DD"),s={"@type":"Offer",url:_?"".concat("https://www.shopcider.com").concat(_):"",priceCurrency:y,price:d,priceValidUntil:u,itemCondition:"https://schema.org/NewCondition",availability:"https://schema.org/".concat(a?"PreOrder":"InStock")};Object.assign(e,{offers:s})}if(null!=E&&E.score&&null!=E&&E.list){var p,m,v={"@type":"AggregateRating",ratingValue:null===(p=E.score)||void 0===p||null===(m=p.toFixed)||void 0===m?void 0:m.call(p,1),reviewCount:String(E.totalCount)},g=E.list.reduce(((e,t)=>(e.push({"@type":"Review",datePublished:t.addTime,name:t.body,reviewBody:t.body,reviewRating:{"@type":"Rating",ratingValue:String(t.rating),bestRating:"5"},author:{"@type":"Person",name:t.username}}),e)),[]);Object.assign(e,{aggregateRating:v,review:g})}return P.Z.escapeXssHtmlTag(JSON.stringify(e))}),[y,h,f,E,_]),Z=(0,n.useMemo)((()=>_?O.m(_):""),[_]);return n.createElement(n.Fragment,null,n.createElement(I.q,null,f.productName?n.createElement("title",null,(null==f||null===(c=f.productInfoSeoVO)||void 0===c?void 0:c.seoTitle)||"".concat(f.productName," - Cider")):null,f.productName?n.createElement("meta",{property:"og:title",content:null!==(l=null==f||null===(d=f.productInfoSeoVO)||void 0===d?void 0:d.seoTitle)&&void 0!==l?l:"".concat(f.productName," - Cider")}):null,f.productName?n.createElement("meta",{name:"twitter:title",content:null!==(u=null==f||null===(s=f.productInfoSeoVO)||void 0===s?void 0:s.seoTitle)&&void 0!==u?u:"".concat(f.productName," - Cider")}):null,n.createElement("meta",{name:"description",content:"".concat((null==f||null===(p=f.productInfoSeoVO)||void 0===p?void 0:p.seoDescription)||U)}),n.createElement("meta",{property:"og:description",content:"".concat((null==f||null===(m=f.productInfoSeoVO)||void 0===m?void 0:m.seoDescription)||U)}),_&&n.createElement("meta",{property:"og:url",content:"".concat("https://www.shopcider.com").concat(_)}),n.createElement("meta",{name:"keywords",content:S}),n.createElement("meta",{name:"twitter:description",content:"".concat((null==f||null===(v=f.productInfoSeoVO)||void 0===v?void 0:v.seoDescription)||U)}),n.createElement("meta",{property:"og:image",content:null==h?void 0:h[0]}),n.createElement("script",{type:"application/ld+json"},M),n.createElement("script",{type:"application/ld+json"},N),n.createElement("script",{type:"application/ld+json"},A),Z?Z.map((e=>e)):""))},k=o(37283),N=o(85036);function L(e,t,o,n,r,i,a){try{var c=e[i](a),l=c.value}catch(e){return void o(e)}c.done?t(l):Promise.resolve(l).then(n,r)}function R(e){return function(){var t=this,o=arguments;return new Promise((function(n,r){var i=e.apply(t,o);function a(e){L(i,n,r,a,c,"next",e)}function c(e){L(i,n,r,a,c,"throw",e)}a(void 0)}))}}var A=()=>{var e=(0,a.I0)(),t=(0,m.bB)(),{productionDetail:r}=(0,a.v9)(g.ZP),i=(0,n.useMemo)((()=>t.sku_id||t.skuId),[t.sku_id,t.skuId]),c=(0,n.useCallback)(R((function*(){null!=r&&r.productId&&(e(S.Z.RESET_ALL_PRODUCT_COMMENT_LIST()),yield e(S.Z.GET_PRODUCT_COMMENT_LIST({pid:null==r?void 0:r.productId,skuId:i,page:1,size:3})),yield e(S.Z.GET_REPORT_CONTENT_LIST()))})),[e,null==r?void 0:r.productId,i]);return n.createElement(N.Z,{lazyLoad:()=>Promise.all([o.e(3712),o.e(77510),o.e(65915)]).then(o.bind(o,81726)),notRunLoadData:["go"],lazyLoadComponentPlaceholderHeight:500,onLoadData:c,deps:[null==r?void 0:r.productId],pid:null==r?void 0:r.productId,skuId:i})};function U(e,t,o,n,r,i,a){try{var c=e[i](a),l=c.value}catch(e){return void o(e)}c.done?t(l):Promise.resolve(l).then(n,r)}function M(e){return function(){var t=this,o=arguments;return new Promise((function(n,r){var i=e.apply(t,o);function a(e){U(i,n,r,a,c,"next",e)}function c(e){U(i,n,r,a,c,"throw",e)}a(void 0)}))}}var Z=()=>{var e=(0,a.I0)(),t=(0,u.TH)(),{productionDetail:r,recommendProductionList:i,listType:c,listTitle:l,page:d,size:s,complete:p,strategyNameList:m}=(0,a.v9)(g.ZP),{quickPurchase:v}=(0,a.v9)(g.AJ),f=(0,n.useCallback)(M((function*(){null==r||!r.productId||null!=v&&v.show||(yield e(S.Z.GET_RECOMMEND_PRODUCTS({productId:r.productId,route:t})))})),[r.productId,null==v?void 0:v.show,e,t]),h=(0,n.useCallback)(M((function*(){var o=d+1;e(S.Z.CHANGE_RECOMMEND_PAGE(o)),yield e(S.Z.GET_RECOMMEND_PRODUCTS({size:s,page:o,productId:r.productId,route:t},!1))})),[e,t,r.productId,d,s]);return n.createElement(N.Z,{lazyLoad:()=>Promise.all([o.e(7379),o.e(98106)]).then(o.bind(o,72477)),runLoadData:["push"],notRunLoadData:["go"],lazyLoadComponentPlaceholderHeight:500,onLoadData:f,deps:[null==r?void 0:r.productId],bordered:!0,finished:p,onLoadMore:h,productList:i,gaListId:0,gaListName:encodeURIComponent("详情页下方的推荐列表"),ciderListId:c,ciderListName:l,pixelParams:{strategyNameList:m}})},x=o(28273),z=o(77122),j=o(94184),G=o.n(j),V=o(32760),B=o(84529),H=o(31796);function Y(e,t,o,n,r,i,a){try{var c=e[i](a),l=c.value}catch(e){return void o(e)}c.done?t(l):Promise.resolve(l).then(n,r)}var q=()=>{var{productName:e,priceInfo:t,productId:o,currentSize:i,productionDetail:c}=(0,a.v9)(g.ZP),{productSetList:l,suitSkcItem:u}=(0,a.v9)((e=>{var t=(0,H.Z)(e);return{productSetList:t.productSetList,suitSkcItem:t.suitSkcItem}})),s=(0,a.I0)(),{t:p}=(0,d.$)(),[m,h]=(0,n.useState)(!1),[E,y]=(0,n.useState)(!1),I=(0,n.useMemo)((()=>{var e,o;return c.productType!==f.h0.SET?t:{description:null==c?void 0:c.productName,shopPrice:null==u?void 0:u.salePrice,originPrice:null!==(e=null==u?void 0:u.originalPrice)&&void 0!==e?e:"",isFavor:null!==(o=null==c?void 0:c.isFavor)&&void 0!==o?o:0,leftUpTag:null==u?void 0:u.leftUpTag,leftUpTagImgUrl:null==u?void 0:u.leftUpTagImgUrl,salePriceRange:null==c?void 0:c.salePriceRange}}),[t,null==c?void 0:c.isFavor,null==c?void 0:c.productName,c.productType,null==c?void 0:c.salePriceRange,null==u?void 0:u.leftUpTag,null==u?void 0:u.leftUpTagImgUrl,null==u?void 0:u.originalPrice,null==u?void 0:u.salePrice]),T=(0,n.useMemo)((()=>{return!(!(e=i)||0===(null===(t=Object.keys(e))||void 0===t?void 0:t.length)||0===e.soldOut);var e,t}),[i]),_=(0,n.useMemo)((()=>p(T?"detail.popup.notifymebutton":"shoppingBag.addItemsPage.addToBag")),[T,p]),b=function(){var e,t=(e=function*(e){(0,r.UW)(e,!0),y(!0),yield s(S.Z.CHANGE_QUICK_PURCHASE_MODE(!0,{pid:o})),y(!1),B.Z.emitFooterQuickAddClick()},function(){var t=this,o=arguments;return new Promise((function(n,r){var i=e.apply(t,o);function a(e){Y(i,n,r,a,c,"next",e)}function c(e){Y(i,n,r,a,c,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),O=(0,r.Ds)((()=>{var e=(0,r.cx)();h(e>1e3)}),20);return(0,n.useEffect)((()=>(O(),window.addEventListener("scroll",O),()=>{window.removeEventListener("scroll",O)})),[m]),n.createElement("div",{className:G()("quick-buy-footer",{"fixed-show":m}),"data-v-daa69d58":""},n.createElement(V.Z,{action:B.Z.emitFooterQuickAddView,reportData:{},"data-v-daa69d58":""},n.createElement("div",{className:"footer-content","data-v-daa69d58":""},n.createElement("div",{className:"product-info","data-v-daa69d58":""},n.createElement("p",{"data-v-daa69d58":""},e),n.createElement("p",{"data-v-daa69d58":""},null==I?void 0:I.shopPrice)),n.createElement("div",{className:"buy-button","data-v-daa69d58":""},n.createElement(v.zx,{loading:E,fontSize:"16",size:z.q.LARGE,width:300,buttonHeight:48,onClick:b,prefixSolt:T?null:n.createElement(x.le,{iconClass:x.my["add-bag"],color:"#fff",width:20,height:20,style:{marginRight:"10px"},"data-v-daa69d58":""}),"data-v-daa69d58":""},_)))))},F=o(20538);function K(e,t,o,n,r,i,a){try{var c=e[i](a),l=c.value}catch(e){return void o(e)}c.done?t(l):Promise.resolve(l).then(n,r)}function J(e){return function(){var t=this,o=arguments;return new Promise((function(n,r){var i=e.apply(t,o);function a(e){K(i,n,r,a,c,"next",e)}function c(e){K(i,n,r,a,c,"throw",e)}a(void 0)}))}}function W(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Q(e){for(var t=1;t{var{productionDetail:o}=t,{productionDetail:{productId:n,productUniqueName:r}}=o;n&&r&&(e(c.Z.SET_STORAGE_PAGE(l.Gy.detail,n,{data:o,scrollTop:X})),e(c.Z.SET_STORAGE_PAGE(l.Gy.detail,r,{data:o,scrollTop:X})))},oe=e=>Array.isArray(e)?e.find((e=>Number(e))):e,ne=e=>{var t=(0,a.I0)(),o=(0,m.bB)(),c=(0,n.useMemo)((()=>o&&o.pid?Q(Q({},o),{},{pid:oe(o.pid)}):o),[o]),{t:l}=(0,d.$)(),I=(0,u.k6)(),{productionDetail:T,currentStyleIndex:_,currentSizeIndex:b,currentSize:O,recommendSizeResult:P}=(0,a.v9)(g.ZP),{productSetList:w}=(0,a.v9)(H.Z),C=(0,n.useMemo)((()=>{var{navId:e,navTitle:t}=c,o="";try{o=decodeURIComponent(t||"")}catch(e){o=t||""}var n="";return e&&r.OR(Number(e))&&(n="/product/list?collection_id=".concat(e)),e&&!r.OR(Number(e))&&(n="/collection/".concat(e)),[{name:l("static.common.home"),link:"/"},{name:o,link:n},{name:T.productName}]}),[T.productName,c,l]),N=(0,n.useCallback)(function(){var e=J((function*(e){var o=T.productType===f.h0.SET,{selectSkuIndex:n}=c,r=[{id:O.skuId,num:e}],i=Q(Q({},T),{},{selectStyleIndex:_,selectSizeIndex:b,source:2,stock:e}),a=(null==i?void 0:i.pixel)||{},l=w.map((e=>o?"".concat(e.productDetail.productStyle[e.currentStyleIndex].skuInfo[e.currentSizeIndex].skuId):[])),d=w.map((e=>o?"".concat(e.productDetail.productStyle[e.currentStyleIndex].styleId):[])),u={productSetId:T.productId,productSetSkuIdList:l,businessTracking:""},s=w.map((e=>null==e?void 0:e.recommendSizeResult.recommendSizes)).join("&"),m=w.map((e=>null==e?void 0:e.recommendSizeResult.recommendSizeCode)).join("&"),v={skuIds:r.map((e=>{var t;return Q(Q(Q({},e),i.pixel),{},{recommendSize:null==P||null===(t=P.recommendSizes)||void 0===t?void 0:t.join("-"),recommendSizeCode:null==P?void 0:P.recommendSizeCode})}))},E={page:c.shopPage,index:c.shopIndex,moduleTitle:c.moduleTitle,listType:c.ciderListId,listTitle:c.ciderListName,listId:c.listId&&Number(c.listId),productionDetail:i,color:k.Vp(T,_,n),size:k.BU(T,_,b,n)};Object.assign(u,(0,h.v)(Q(Q(Q({},a),E),{},{productType:f.h0.SET,spu:null==i?void 0:i.productId,productSetSkuIdList:l,skuId:d})));var y=o?Q(Q({},E),{},{productSets:[u],recommendSize:s,recommendSizeCode:m}):Q(Q({},E),v);return yield t(p.Z.ADD_PRODUCTS_TO_CART(y,!0))}));return function(t){return e.apply(this,arguments)}}(),[O.skuId,b,_,t,T,c,P]);(0,m.YI)((()=>{X=r.cx(),te(t,s.Z.getState())})),(0,m.uH)(J((function*(){var e=c.style_id||c.styleId,o=c.sku_id||c.skuId,n=null==c?void 0:c.pid;yield t(S.Z.GET_PRODUCT_DETAIL({pid:n,styleId:e,skuId:o})),k.a5(s.Z)})));var L=(0,n.useCallback)((()=>{ee=!0,X=r.cx(),te(t,s.Z.getState())}),[]),R=()=>{I.push("/")},U=()=>{var e=c.style_id||c.styleId,o=c.sku_id||c.skuId,n=null==c?void 0:c.pid;t(S.Z.GET_PRODUCT_DETAIL({pid:n,styleId:e,skuId:o}))},M=(0,n.useMemo)((()=>{if(void 0!==(null==T?void 0:T.errorCode))return 105===(null==T?void 0:T.errorCode)?{descInfo:null==T?void 0:T.errorMessage,buttonText:l("giftCard.store.goToHomepage"),onClick:R}:{descInfo:l("static.common.networkerror"),buttonText:l("static.common.refreshbtn"),onClick:U}}),[T]);return void 0!==M?n.createElement("div",{className:"error-container","data-v-bea19ab9":""},n.createElement("div",{className:"empty-icon","data-v-bea19ab9":""}),n.createElement("div",{className:"error-title","data-v-bea19ab9":""},l("static.common.errorpagetitle")),n.createElement("div",{className:"error-desc","data-v-bea19ab9":""},null==M?void 0:M.descInfo),n.createElement(v.zx,{width:400,onClick:null==M?void 0:M.onClick,"data-v-bea19ab9":""},null==M?void 0:M.buttonText)):n.createElement(n.Fragment,null,n.createElement(D,{"data-v-bea19ab9":""}),n.createElement("div",{className:"product-detail","data-v-bea19ab9":""},n.createElement("div",{className:"product-detail_nav","data-v-bea19ab9":""},n.createElement(i.Z,{routes:C,"data-v-bea19ab9":""})),n.createElement("div",{className:"product-detail_main","data-v-bea19ab9":""},n.createElement(E.Z,{detailType:y.Q.PRODUCT_DETAIL,refreshPage:U,addToCart:N,"data-v-bea19ab9":""}),n.createElement("div",{onClickCapture:L,className:"product-detail_main_bottom","data-v-bea19ab9":""},n.createElement(A,{"data-v-bea19ab9":""}),n.createElement(Z,{"data-v-bea19ab9":""}))),n.createElement(q,{"data-v-bea19ab9":""})))};ne.onShow=function(){var e=J((function*(e){var t,o,{store:n,route:i,inPageType:a}=e,d=null==n?void 0:n.getState(),u=r.tA(i);u&&u.pid&&(u.pid=oe(u.pid));var s=u.style_id||u.styleId,p=u.sku_id||u.skuId,m=null==u?void 0:u.pid,v=(null==d||null===(t=d.user)||void 0===t||null===(o=t.infoMember)||void 0===o?void 0:o.uid)||0;k.p3({route:i,store:n})&&("go"===a&&((e,t,o)=>{var n,{storagePage:{productDetail:r}}=t;if(null!==(n=r[o])&&void 0!==n&&n.length){var i=r[o],{data:a,scrollTop:d}=i[i.length-1],{productionDetail:{productUniqueName:u,productId:s}}=a;return X=d,e(c.Z.DELETE_STORAGE_PAGE(l.Gy.detail,s)),e(c.Z.DELETE_STORAGE_PAGE(l.Gy.detail,u)),e(S.Z.SET_PRODUCT_DETAIL_STATE(a)),!0}return!1})(n.dispatch,d,m)||("push"!==a||ee||(X=r.cx(),te(n.dispatch,d)),ee=!1,r.QU(0),n.dispatch(S.Z.SET_RECOMMEND_PRODUCTS([])),n.dispatch(S.Z.CHANGE_PRODUCTION_DETAIL_LOAD(!1)),n.dispatch(S.Z.CHANGE_PRODUCTION_DETAIL_LIST_LOAD(!1)),n.dispatch(S.Z.CHANGE_PRODUCTION_DETAIL_IMAGE_LOAD(!1)),n.dispatch(S.Z.CHANGE_RECOMMEND_PAGE(1)),n.dispatch(S.Z.GET_BODY_SIZE(v)),n.dispatch(S.Z.RESET_ALL_PRODUCT_COMMENT_LIST()),yield n.dispatch(S.Z.GET_PRODUCT_DETAIL({pid:m,styleId:s,skuId:p,route:i})).then((e=>{if("SET"===(null==e?void 0:e.productType)){var t=s?e.skcList.filter((e=>e.styleId===Number(s)))[0]:e.skcList[0];n.dispatch(F.Z.INIT_PRODUCT_SET_PLACEHOLDER_DATA(null==e?void 0:e.productList.length)),n.dispatch(F.Z.SET_PRODUCT_SET_PER_ITEM_DATA((null==e?void 0:e.productList)||[])),n.dispatch(F.Z.SET_PRODUCT_SET_SKC_LIST_DATA((null==e?void 0:e.skcList)||[])),t&&(n.dispatch(F.Z.SET_PRODUCT_SET_STYLE_IDS_DATA_BY_SKCITEM(t)),n.dispatch(F.Z.SET_CURRENT_STYLE_INDEX_BY_SKCITEM(t)))}if(k.a5(n),["server","serverCache"].includes(a))return n.dispatch(S.Z.GET_PRODUCT_SEO_COMMENT_LIST({pid:null==e?void 0:e.productId,skuId:p,page:1,size:10}))}))))}));return function(t){return e.apply(this,arguments)}}();var re=ne},69590:function(e){var t="undefined"!=typeof Element,o="function"==typeof Map,n="function"==typeof Set,r="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var c,l,d,u;if(Array.isArray(e)){if((c=e.length)!=a.length)return!1;for(l=c;0!=l--;)if(!i(e[l],a[l]))return!1;return!0}if(o&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(n&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((c=e.length)!=a.length)return!1;for(l=c;0!=l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((c=(d=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=c;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,d[l]))return!1;if(t&&e instanceof Element)return!1;for(l=c;0!=l--;)if(("_owner"!==d[l]&&"__v"!==d[l]&&"__o"!==d[l]||!e.$$typeof)&&!i(e[d[l]],a[d[l]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},83524:function(e,t,o){"use strict";var n,r=o(67294),i=(n=r)&&"object"==typeof n&&"default"in n?n.default:n;function a(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,o){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==o&&"function"!=typeof o)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(n){if("function"!=typeof n)throw new Error("Expected WrappedComponent to be a React component.");var l,d=[];function u(){l=e(d.map((function(e){return e.props}))),s.canUseDOM?t(l):o&&(l=o(l))}var s=function(e){var t,o;function r(){return e.apply(this,arguments)||this}o=e,(t=r).prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o,r.peek=function(){return l},r.rewind=function(){if(r.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,d=[],e};var a=r.prototype;return a.UNSAFE_componentWillMount=function(){d.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=d.indexOf(this);d.splice(e,1),u()},a.render=function(){return i.createElement(n,this.props)},r}(r.PureComponent);return a(s,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")"),a(s,"canUseDOM",c),s}}}}]);